import {
    createRouter,
    createWebHashHistory,
    RouteRecordRaw,
} from "vue-router";
import Home from "../pages/home.vue";
import About from "../pages/about.vue";

const routes: Array<RouteRecordRaw> = [
    {
        path: "/",
        name: "Home",
        component: Home,
    },
    {
        path: "/about",
        name: "About",
        component: About,
    }
]

const router = createRouter({
    history: createWebHashHistory(),
    routes,
})

export default router;